#DayDayUpQ6.py      工作3天休息一天，努力每天提高1%，休息时每天下降1‰
dayup=1.0
dayupfactor=0.01
daydownfactor=0.001
for i in range(365):
       if i % 4 in [0]:  #休息时是第四天，除4的余数即为0
              dayup=dayup*(1-daydownfactor)
       else:
              dayup=dayup*(1+dayupfactor)     #其他情况即是工作时间
print("上三休一的力量：{:.2f}".format(dayup))
